A plot with Plotly

plot_ly(mtcars, x = ~wt,  y = ~mpg, type= "scatter")
## No scatter mode specifed:
##   Setting the mode to markers
##   Read more about this attribute -> https://plotly.com/r/reference/#scatter-mode